package com.model;

public class Course {
    private String cno;
    private String cname;
    private int credit;
    private int tno;
    private String tname;  // 用于显示教师名称
    
    // Getters and Setters
    public String getCno() { return cno; }
    public void setCno(String cno) { this.cno = cno; }
    
    public String getCname() { return cname; }
    public void setCname(String cname) { this.cname = cname; }
    
    public int getCredit() { return credit; }
    public void setCredit(int credit) { this.credit = credit; }
    
    public int getTno() { return tno; }
    public void setTno(int tno) { this.tno = tno; }
    
    public String getTname() { return tname; }
    public void setTname(String tname) { this.tname = tname; }
} 